package com.gjsh.b_Random;

import java.util.Random;

public class Demo01 {
    public static void main(String[] args) {
        // 创建对象
        Random rd = new Random();
        int data = rd.nextInt();
        System.out.println(" data = " + data );
    }
}
